<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<ol class="breadcrumb">
	<li><a href="${pageContext.request.contextPath}/home">首页</a></li>
	<li class="active">归档</li>
</ol>

<article>
	<ul class="archives">
		<c:forEach var="article" items="${articles}">
			<li><span>『<fmt:formatDate value="${article.pubDate }"
						type="date" pattern="yyyy-MM-dd" />』
			</span><a
				href="${pageContext.request.contextPath}/article?articleId=${article.id}">${article.title}</a>
			</li>
		</c:forEach>
	</ul>
</article>
